import requests
import asyncio
from aiohttp import ClientSession



def hello():
    print('ddd')
    return requests.get("http://10.16.3.39:8000/")


# print(hello())






async def hello1():
    async with ClientSession() as session:
        async with session.get("http://10.16.3.39:8000/status/") as response:
            response = await response.read()
            print(response)


loop = asyncio.get_event_loop()
loop.run_until_complete(hello1())